package track;

public class Classification_enum {

    private int __value;
    private static int __size = 5;
    private static track.Classification_enum[] __array = new track.Classification_enum[__size];

    public static final int _TRACK_CLASSIFICATION_UNKNOWN = 0;
    public static final track.Classification_enum TRACK_CLASSIFICATION_UNKNOWN = new track.Classification_enum(_TRACK_CLASSIFICATION_UNKNOWN);

    public static final int _TRACK_CLASSIFICATION_HOSTILE = 1;
    public static final track.Classification_enum TRACK_CLASSIFICATION_HOSTILE = new track.Classification_enum(_TRACK_CLASSIFICATION_HOSTILE);

    public static final int _TRACK_CLASSIFICATION_FRIENDLY = 2;
    public static final track.Classification_enum TRACK_CLASSIFICATION_FRIENDLY = new track.Classification_enum(_TRACK_CLASSIFICATION_FRIENDLY);

    public static final int _TRACK_CLASSIFICATION_UNIDENTIFIED = 3;
    public static final track.Classification_enum TRACK_CLASSIFICATION_UNIDENTIFIED = new track.Classification_enum(_TRACK_CLASSIFICATION_UNIDENTIFIED);

    public static final int _TRACK_CLASSIFICATION_ALL = 4;
    public static final track.Classification_enum TRACK_CLASSIFICATION_ALL = new track.Classification_enum(_TRACK_CLASSIFICATION_ALL);

    public int value ()
    {
        return __value;
    }

    public static track.Classification_enum from_int (int value)
    {
        if (value >= 0 && value < __size) {
            return __array[value];
        } else {
            throw new RuntimeException ();
        }
    }

    protected Classification_enum (int value)
    {
        __value = value;
        __array[__value] = this;
    }
}
